package com.hourse.app.vo.rms;

import com.hourse.platform.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @作者：lichenguang
 * @描述：【】
 * @创建：2022/2/15 11:41
 */
@Data
@ApiModel(value = "币种-新增三方币号")
public class BingExternalAccountVo extends BaseVo implements Serializable {

  //@ApiModelProperty(value = "主键", example = "btc", required = true)
  //@NotBlank(message = "主键不能为空")
  //@Length(message = "主键最大长度为100", max = 100)
  private String id;


  @ApiModelProperty(value = "关联账户", example = "okex", required = true)
  @NotBlank(message = "关联账户不能为空")
  @Length(message = "关联账户最大长度为100", max = 100)
  private String userId;

  @ApiModelProperty(value = "交易平台", example = "okex", required = true)
  @NotBlank(message = "交易平台不能为空")
  @Length(message = "交易平台最大长度为100", max = 100)
  private String platform;


  @ApiModelProperty(value = "三方uKey", example = "uKey", required = true)
  @NotBlank(message = "三方uKey不能为空")
  @Length(message = "三方uKey最大长度为50", max = 50)
  private String uKey;

  @ApiModelProperty(value = "三方uSecret", example = "uSecret", required = true)
  @NotBlank(message = "三方uSecret不能为空")
  @Length(message = "三方uSecret最大长度为50", max = 50)
  private String uSecret;

  @ApiModelProperty(value = "交易密码", example = "123123", required = true)
  @NotBlank(message = "交易密码不能为空")
  @Length(message = "交易密码最大长度为50", max = 50)
  private String passphrase;

  @ApiModelProperty(value = "是否使用，0：否，1：是", example = "0", required = true)
  @NotBlank(message = "是否使用不能为空")
  @Length(message = "是否配置成功", max = 5)
  private String isUse;

  // 本机IP
  private String ip;
  //@ApiModelProperty(value = "是否配置成功，0：否，1：是", example = "0", required = true)
  //@NotBlank(message = "是否配置成功不能为空")
  //@Length(message = "是否配置成功", max = 5)
  //private String dispostState;
}
